#include <stdio.h>
#include <string.h>

int main(void)
{
    char str[2];

    gets(str);
    printf("\n%d", (int)strlen(str));
    printf("\n%d", (int)sizeof(str));

    int last = (int)strlen(str) - 1;

    printf("\n%d", last);
    printf("\n%c", str[last]);

    printf("\n%p", &str);
    printf("\n%p", &str[last]);

    printf("\n%s %s %ld", __DATE__, __TIME__, __STDC_VERSION__);
    printf("\n%d", __STDC_HOSTED__);

    return 0;
}